package com.parenting.service;

import com.parenting.entities.OrderApprovalDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.parenting.model.IMPage;
import com.parenting.request.platform.SearchOrderApproval;
import com.parenting.response.OrderApprovalResponse;
import com.parenting.response.platform.ApprovalResponse;
import com.parenting.util.base.Result;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p>
 * 平台审核退款 服务类
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-10-25
 */
public interface OrderApprovalService extends IService<OrderApprovalDO> {

   /****
    * 订单退款审核列表
    * @param searchOrderApproval
    * @return
    */
   IMPage<OrderApprovalResponse> getOrderApprovalList(SearchOrderApproval searchOrderApproval);

   /***
    * 查询订单审核详情
    * @param orderApprovalId
    * @return
    */
   ApprovalResponse getOrderApproval(String orderApprovalId);

   /***
    * 同意退款
    * @param orderApprovalId
    */
   void agree(String orderApprovalId);

}
